package 基础篇.线程同步.同步监视器;

/**
 * @author IBM CHEN ZHI KAN
 * @create 2018/7/28
 */
public class Account {
  private String accountNo;//账户编号
  private double balance;//账户余额

  public Account(String accountNo, double balance) {
    this.accountNo = accountNo;
    this.balance = balance;
  }

  public String getAccountNo() {
    return accountNo;
  }

  public void setAccountNo(String accountNo) {
    this.accountNo = accountNo;
  }

  public double getBalance() {
    return balance;
  }

  public void setBalance(double balance) {
    this.balance = balance;
  }
}
